package org.example.struct.array;

/**
 * @author liyishan
 * @date 2024/2/18 10:05
 * @apiNote
 */

public class M0109IsFlipedString {

    public boolean isFlipedString(String s1, String s2) {
        return s1.length() == s2.length() && (s1 + s1).contains(s2);
    }
}
